package net.url;

import java.net.HttpURLConnection;
import java.net.URL;

public class SouceViewer3
{
	public static void main(String[] args)
	{
		try
		{
			URL u = new URL("http://www.simlake.com");
			HttpURLConnection uc = (HttpURLConnection) u.openConnection();
			int code = uc.getResponseCode();
			System.out.println(code);
		}
		catch (Exception e)
		{
		}
	}
}
